﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace DinhTam.Includes
{
    public partial class U_banner : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string s=Request.QueryString["act"] ;
            string NID = Request.QueryString["nid"];
            if (s== null || s=="trangchu")
            {
                if (NID != "ud")
                {
                    UserControl us = new UserControl();
                    us = (UserControl)Page.LoadControl("Includes/QuangCao.ascx");
                    this.Controls.Add(us);
                }
              
            }
        }
    }
}